package com.kma.ncpractice2013.model;

import java.util.ArrayList;

/**
 *
 * @author Illya
 */
public class UserGroup
{
    private int id;
    private String description;
    private int discount;
    private ArrayList<User> relatedUsers; // where should I initialize it?

    public UserGroup()
    {

    }

    public UserGroup(int id, String description, int discount, ArrayList<User> relatedUsers)
    {
        this.id = id;
        this.description = description;
        this.discount = discount;
        this.relatedUsers = relatedUsers;
    }

    public int getId() {
        return id;
    }

    public int getDiscount() {
        return discount;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setDiscount(int discount) {
        this.discount = discount;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setRelatedUsers(ArrayList<User> relatedUsers) {
        this.relatedUsers = relatedUsers;
    }

    public String getDescription() {
        return description;
    }

    public ArrayList<User> getRelatedUsers() {
        return relatedUsers;
    }
    
}
